//
//  EventStatisticsAPIRequest.h
//  ConvenientlyTake
//
//  Created by 张奇 on 2022/12/23.
//

#import "TGNetworkManager.h"

NS_ASSUME_NONNULL_BEGIN

@interface EventStatisticsAPIRequest : TGNetworkManager

/// 获取所有有权限访问的部门
/// @param success success
/// @param fail fail
+(NSURLSessionDataTask *)GETAllDepartmentWithsuccess:(LZTResponseSuccess)success fail:(LZTResponseFailure)fail;


/// 获取事件统计
/// @param startDate 查询开始日期
/// @param endDate 查询结束日期
/// @param county 区县
/// @param disposalDeptId 部门
/// @param success success
/// @param fail fail
+(NSURLSessionDataTask *)GETGetEventStatisticsWithStartDate:(NSString *)startDate
                                                    endDate:(NSString *)endDate
                                                     county:(NSString *)county
                                             disposalDeptId:(NSString *)disposalDeptId
                                                    success:(LZTResponseSuccess)success fail:(LZTResponseFailure)fail;

@end

NS_ASSUME_NONNULL_END
